﻿@using Microsoft.AspNetCore.Components
@using Radzen.Blazor
@inherits LayoutComponentBase
@inject ExampleService ExampleService
@inject NavigationManager UriHelper
@inject IJSRuntime JSRuntime

<RadzenComponents />

<RadzenContentContainer Name="main">
    @Body
</RadzenContentContainer>

@code {

    IEnumerable<Example> examples;

    protected override void OnInitialized()
    {

        examples = ExampleService.Examples;

        System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
    }
}
